/******************************************************************************
 * LED
 *
 * Description:
 *  This class controls the LEDs, which report the status of the program.
 *  Error codes include in appropiate commands, nested loop, end of 
 *  instructions, and paused program. The data ports (B) are utilized to
 *  control the LED states. LED states are determined by outputing certain 
 *  digital high and low values to the data port.
 *
 * 
 * Authors:
 *  Russ Martin (11/7/2011)
 *
 * Contributors:
 *  Ariana Hong (9/20/11)
 *****************************************************************************/

#ifndef LED_H
#define LED_H

#include "Types.h"
#include "Derivative.h"

// Initializes LED settings
//--------------------------------------------------------------       
void InitializeLED(void);

// This method accesses the port B data ports and writes the
// 8-bit binary number to the LED displays.
// 
// Parameters:  lights    the binary code to display on LEDs 
//--------------------------------------------------------------
void DisplayLED(UINT8 lights);

#endif /* LED_H */

